<?php $i=0; foreach ($banners as $banner): ?>
	<div class="float-right banner_home">
	   <?php if ($banner->getTipo()==0): ?>
	   <a title="<?php echo $banner->getTextoAlternativo(); ?>" href="<?php echo $banner->getFullUrl(); ?>" target="_blank" rel="nofollow"><img src="<?php echo sfConfig::get('app_upload_dir_banner') . $banner->getBanner(); ?>" alt="<?php echo $banner->getTextoAlternativo(); ?>"></a>
	   <?php elseif ($banner->getTipo()==1): ?>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" width="230" height="154">  
          <param name="movie" value="<?php echo sfConfig::get('app_upload_dir_banner'). $banner->getBanner() ?>"> 
          <param name="quality" value="high">    
          <embed src="<?php echo sfConfig::get('app_upload_dir_banner'). $banner->getBanner() ?>" quality="high" width="230" height="154" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
         </object>	   
	   <?php endif; ?>
	</div>
<?php endforeach; ?>